package com.wtwd.device.model.dto;

import com.wtwd.device.model.entity.DeviceBloodOxygen;
import com.wtwd.device.model.entity.DeviceBloodOxygenTotal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "SynchronizationBloodOxygenDto", description = "")
public class SynchronizationBloodOxygenDto implements Serializable {
    private static final long serialVersionUID = 10869871874564L;

    @ApiModelProperty(value = "设备id", required = true)
    private Long deviceId;

    @ApiModelProperty(value = "血氧数据", required = true)
    List<DeviceBloodOxygenTotalDto> deviceBloodOxygenTotalDtos;

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public List<DeviceBloodOxygenTotalDto> getDeviceBloodOxygenTotalDtos() {
        return deviceBloodOxygenTotalDtos;
    }

    public void setDeviceBloodOxygenTotalDtos(List<DeviceBloodOxygenTotalDto> deviceBloodOxygenTotalDtos) {
        this.deviceBloodOxygenTotalDtos = deviceBloodOxygenTotalDtos;
    }

    @Override
    public String toString() {
        return "SynchronizationBloodOxygenDto{" +
                "deviceId=" + deviceId +
                ", deviceBloodOxygenTotalDtos=" + deviceBloodOxygenTotalDtos +
                '}';
    }
}
